package com.mt.common.entity;


import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * 封装查询条件
 */

public class QueryPageBean implements Serializable {
    //页码
    private Integer currentPage;

    //每页记录数
    private Integer pageSize;

    //查询条件
    private Map<String, Object> map;


    public Map<String, Object> getMap() {
        if (this.map == null) {
            this.map = new HashMap<String, Object>();
        }
        return map;
    }

    public void setMap(Map<String, Object> map) {
        this.map = map;

    }

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }


}